package com.ruoyi.admin.domain.vo.request.profit;

import com.ruoyi.common.core.page.PageDomain;
import com.ruoyi.common.page.PageParamRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.data.domain.PageRequest;

import java.math.BigDecimal;

/**
 * @author Shenjh
 * @version 1.0.0
 * @title ProfitPageJoinRequest
 * @description 报表分页请求类
 * @date 2023/2/7 17:11
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class ProfitPageJoinRequest extends PageParamRequest {
    @ApiModelProperty(value = "货号id", required = true)
    private Long articleId;

    @ApiModelProperty(value = "品牌", required = true)
    private String brand;

    @ApiModelProperty(value = "货号", required = true)
    private String articleNumber;

    @ApiModelProperty(value = "库存id", required = true)
    private Long inventoryId;

    @ApiModelProperty(value = "投入金额", required = true)
    private BigDecimal inputAmount;

    @ApiModelProperty(value = "产出金额", required = true)
    private BigDecimal outputAmount;

    @ApiModelProperty(value = "毛利", required = true)
    private BigDecimal grossMargin;

    @ApiModelProperty(value = "备注", required = true)
    private String remark;

    @ApiModelProperty(value = "删除标志（0代表存在 1代表删除）", required = true)
    private Boolean delFlag;
}
